<template>
  <div>
    <van-pull-refresh v-model="isLoading" @refresh="onRefresh">
      <ZhenX />
      <Video />
    </van-pull-refresh>

    <Foo />
  </div>
</template>

<script>
import ZhenX from "./zhengxiang/top.vue";
import "@vant/touch-emulator";
import { Toast } from "vant";
import Video from "./zhengxiang/video.vue";
export default {
  data() {
    return {
      count: 0,
      isLoading: false,
    };
  },
  methods: {
    onRefresh() {
      setTimeout(() => {
        Toast("刷新成功");
        this.isLoading = false;
        // this.count++;
      }, 1000);
    },
  },
  components: {
    ZhenX,
    Video,
  },
};
</script>

<style>
</style>